package com.bootdo.system.service;

import com.bootdo.system.domain.UserpicDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-06-07 10:21:22
 */
public interface UserpicService {
	
	UserpicDO get(Integer id);
	
	UserpicDO getUserpicByUserId(Long userId);
	
	List<UserpicDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UserpicDO userpic);
	
	int update(UserpicDO userpic);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
	
	String getUrl(Long userId);
}
